home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / vcspell3.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  30.1 KB  |  640 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'vcspell3.pas' rev: 3.00
  6.  
  7. #ifndef vcspell3HPP
  8. #define vcspell3HPP
  9. #include <Controls.hpp>
  10. #include <StdVCL.hpp>
  11. #include <OleCtrls.hpp>
  12. #include <Graphics.hpp>
  13. #include <Classes.hpp>
  14. #include <ActiveX.hpp>
  15. #include <Windows.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Vcspell3
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. __dispinterface _DVSpell;
  25. typedef System::DelphiInterface<_DVSpell> _di__DVSpell;
  26. __dispinterface _DVSpell: public IDispatch /* __guid="{97F4CED1-9103-11CE-8385-524153480001}" */
  27. {
  28.     
  29. };
  30. typedef _DVSpell VSSpell;
  31.  
  32. typedef Olectrls::TOleEnum DictionaryCategories;
  33.  
  34. typedef Olectrls::TOleEnum DictionaryStatusBits;
  35.  
  36. typedef Olectrls::TOleEnum DictionaryLanguageCodes;
  37.  
  38. typedef Olectrls::TOleEnum EventOptionBits;
  39.  
  40. typedef Olectrls::TOleEnum SearchOrderCodes;
  41.  
  42. typedef Olectrls::TOleEnum SpellOptionBits;
  43.  
  44. typedef Olectrls::TOleEnum SuggestOptionBits;
  45.  
  46. typedef Olectrls::TOleEnum IgnoreReplaceCodes;
  47.  
  48. typedef Olectrls::TOleEnum EventActionCodes;
  49.  
  50. typedef Olectrls::TOleEnum ButtonClickBits;
  51.  
  52. typedef Olectrls::TOleEnum DialogElementBits;
  53.  
  54. typedef Olectrls::TOleEnum ResultStatusCodes;
  55.  
  56. typedef Olectrls::TOleEnum ResultErrorCodes;
  57.  
  58. typedef Olectrls::TOleEnum RuntimeErrorCodes;
  59.  
  60. typedef Olectrls::TOleEnum MiscellaneousCodes;
  61.  
  62. __dispinterface _DVSpellEvents;
  63. typedef System::DelphiInterface<_DVSpellEvents> _di__DVSpellEvents;
  64. __dispinterface _DVSpellEvents: public IDispatch /* __guid="{97F4CED2-9103-11CE-8385-524153480001}" */
  65.     
  66. {
  67.     
  68. };
  69.  
  70. typedef void __fastcall (__closure *TVSSpellMisspelled)(System::TObject* Sender, short &EventAction)
  71.     ;
  72.  
  73. typedef void __fastcall (__closure *TVSSpellComplete)(System::TObject* Sender, short &EventAction);
  74.  
  75. typedef void __fastcall (__closure *TVSSpellFound)(System::TObject* Sender, short &EventAction);
  76.  
  77. typedef void __fastcall (__closure *TVSSpellBeforeReplace)(System::TObject* Sender, short &EventAction
  78.     );
  79.  
  80. typedef void __fastcall (__closure *TVSSpellAfterReplace)(System::TObject* Sender, short &EventAction
  81.     );
  82.  
  83. typedef void __fastcall (__closure *TVSSpellAfterPopup)(System::TObject* Sender, short &EventAction)
  84.     ;
  85.  
  86. typedef void __fastcall (__closure *TVSSpellCheckStatus)(System::TObject* Sender, short &EventAction
  87.     );
  88.  
  89. typedef void __fastcall (__closure *TVSSpellCheckError)(System::TObject* Sender, short &EventAction)
  90.     ;
  91.  
  92. typedef void __fastcall (__closure *TVSSpellClickIn)(System::TObject* Sender, short &EventAction);
  93.  
  94. typedef void __fastcall (__closure *TVSSpellClickOut)(System::TObject* Sender, short &EventAction);
  95.  
  96. class DELPHICLASS TVSSpell;
  97. class PASCALIMPLEMENTATION TVSSpell : public Olectrls::TOleControl 
  98. {
  99.     typedef Olectrls::TOleControl inherited;
  100.     
  101. private:
  102.     TVSSpellMisspelled FOnMisspelled;
  103.     TVSSpellComplete FOnComplete;
  104.     TVSSpellFound FOnFound;
  105.     TVSSpellBeforeReplace FOnBeforeReplace;
  106.     TVSSpellAfterReplace FOnAfterReplace;
  107.     TVSSpellAfterPopup FOnAfterPopup;
  108.     TVSSpellCheckStatus FOnCheckStatus;
  109.     TVSSpellCheckError FOnCheckError;
  110.     TVSSpellClickIn FOnClickIn;
  111.     TVSSpellClickOut FOnClickOut;
  112.     _di__DVSpell FIntf;
  113.     void __fastcall Set_OpenStandard(Word loadit, const System::WideString Value);
  114.     short __fastcall Get_DictionaryLanguage(short index);
  115.     System::WideString __fastcall Get_DictionaryName(short index);
  116.     short __fastcall Get_DictionaryStatus(short index);
  117.     Word __fastcall Get_DictionaryIsEnabled(short index);
  118.     System::WideString __fastcall Get_DictionaryNameFull(short index);
  119.     Word __fastcall Get_StandardIRListIsEnabled(short index);
  120.     Word __fastcall Get_DictionaryIsLoaded(short index);
  121.     short __fastcall Get_DictionaryPerformance(short index);
  122.     void __fastcall Set_DictionaryPerformance(short index, short Value);
  123.     System::WideString __fastcall Get_Suggestion(short index);
  124.     Word __fastcall Get_CustomIsUpdateable(short index);
  125.     void __fastcall Set_AddToStandardIRList(short index, short Value);
  126.     void __fastcall Set_AddSuggestion(short matchcode, const System::WideString Value);
  127.     void __fastcall Set_AddToCustom(short index, short Value);
  128.     void __fastcall Set_ClearStandardIRList(short index, short Value);
  129.     void __fastcall Set_CloseDictionary(short index, short Value);
  130.     void __fastcall Set_GetEntry(short index, int Value);
  131.     void __fastcall Set_RemoveFromStandardIRList(short index, const System::WideString Value);
  132.     short __fastcall Get_DictionaryPerformanceActual(short index);
  133.     short __fastcall Get_DictionaryBlockCount(short index);
  134.     short __fastcall Get_DictionaryBlockSize(short index);
  135.     short __fastcall Get_DictionaryCommonCount(short index);
  136.     short __fastcall Get_DictionaryCompatibilityBits(short index);
  137.     System::WideString __fastcall Get_DictionaryCopyright(short index);
  138.     System::WideString __fastcall Get_DictionaryCopyrightDerived(short index);
  139.     short __fastcall Get_DictionaryFlags(short index);
  140.     short __fastcall Get_DictionaryLoadCount(short index);
  141.     short __fastcall Get_DictionaryMakerVersion(short index);
  142.     short __fastcall Get_DictionaryOpenCount(short index);
  143.     short __fastcall Get_DictionarySymbolSetSize(short index);
  144.     int __fastcall Get_DictionaryWordCount(short index);
  145.     void __fastcall Set_CreateCustomExtended(short index, const System::WideString Value);
  146.     void __fastcall Set_EnableDictionary(short index, Word Value);
  147.     void __fastcall Set_EnableCustomUpdate(short index, Word Value);
  148.     void __fastcall Set_LoadDictionary(short index, short Value);
  149.     void __fastcall Set_UnloadDictionary(short index, short Value);
  150.     Word __fastcall Get_CustomIsReadOnly(short index);
  151.     Word __fastcall Get_CustomIsExtended(short index);
  152.     void __fastcall Set_EnableStandardIRList(short index, Word Value);
  153.     void __fastcall Set_OpenCustom(Word loadit, const System::WideString Value);
  154.     
  155. protected:
  156.     virtual void __fastcall InitControlData(void);
  157.     virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
  158.     
  159. public:
  160.     void __fastcall AboutBox(void);
  161.     __property _di__DVSpell ControlInterface = {read=FIntf};
  162.     __property System::WideString OpenStandard[Word loadit] = {write=Set_OpenStandard};
  163.     __property short DictionaryLanguage[short index] = {read=Get_DictionaryLanguage};
  164.     __property System::WideString DictionaryName[short index] = {read=Get_DictionaryName};
  165.     __property short DictionaryStatus[short index] = {read=Get_DictionaryStatus};
  166.     __property Word DictionaryIsEnabled[short index] = {read=Get_DictionaryIsEnabled};
  167.     __property System::WideString DictionaryNameFull[short index] = {read=Get_DictionaryNameFull};
  168.     __property Word StandardIRListIsEnabled[short index] = {read=Get_StandardIRListIsEnabled};
  169.     __property Word DictionaryIsLoaded[short index] = {read=Get_DictionaryIsLoaded};
  170.     __property short DictionaryPerformance[short index] = {read=Get_DictionaryPerformance, write=Set_DictionaryPerformance
  171.         };
  172.     __property System::WideString Suggestion[short index] = {read=Get_Suggestion};
  173.     __property Word CustomIsUpdateable[short index] = {read=Get_CustomIsUpdateable};
  174.     __property short AddToStandardIRList[short index] = {write=Set_AddToStandardIRList};
  175.     __property System::WideString AddSuggestion[short matchcode] = {write=Set_AddSuggestion};
  176.     __property short AddToCustom[short index] = {write=Set_AddToCustom};
  177.     __property short ClearStandardIRList[short index] = {write=Set_ClearStandardIRList};
  178.     __property short CloseDictionary[short index] = {write=Set_CloseDictionary};
  179.     __property int GetEntry[short index] = {write=Set_GetEntry};
  180.     __property System::WideString RemoveFromStandardIRList[short index] = {write=Set_RemoveFromStandardIRList
  181.         };
  182.     __property short DictionaryPerformanceActual[short index] = {read=Get_DictionaryPerformanceActual};
  183.         
  184.     __property short DictionaryBlockCount[short index] = {read=Get_DictionaryBlockCount};
  185.     __property short DictionaryBlockSize[short index] = {read=Get_DictionaryBlockSize};
  186.     __property short DictionaryCommonCount[short index] = {read=Get_DictionaryCommonCount};
  187.     __property short DictionaryCompatibilityBits[short index] = {read=Get_DictionaryCompatibilityBits};
  188.         
  189.     __property System::WideString DictionaryCopyright[short index] = {read=Get_DictionaryCopyright};
  190.     __property System::WideString DictionaryCopyrightDerived[short index] = {read=Get_DictionaryCopyrightDerived
  191.         };
  192.     __property short DictionaryFlags[short index] = {read=Get_DictionaryFlags};
  193.     __property short DictionaryLoadCount[short index] = {read=Get_DictionaryLoadCount};
  194.     __property short DictionaryMakerVersion[short index] = {read=Get_DictionaryMakerVersion};
  195.     __property short DictionaryOpenCount[short index] = {read=Get_DictionaryOpenCount};
  196.     __property short DictionarySymbolSetSize[short index] = {read=Get_DictionarySymbolSetSize};
  197.     __property int DictionaryWordCount[short index] = {read=Get_DictionaryWordCount};
  198.     __property System::WideString CreateCustomExtended[short index] = {write=Set_CreateCustomExtended};
  199.         
  200.     __property Word EnableDictionary[short index] = {write=Set_EnableDictionary};
  201.     __property Word EnableCustomUpdate[short index] = {write=Set_EnableCustomUpdate};
  202.     __property short LoadDictionary[short index] = {write=Set_LoadDictionary};
  203.     __property short UnloadDictionary[short index] = {write=Set_UnloadDictionary};
  204.     __property Word CustomIsReadOnly[short index] = {read=Get_CustomIsReadOnly};
  205.     __property Word CustomIsExtended[short index] = {read=Get_CustomIsExtended};
  206.     __property Word EnableStandardIRList[short index] = {write=Set_EnableStandardIRList};
  207.     __property System::WideString OpenCustom[Word loadit] = {write=Set_OpenCustom};
  208.     
  209. __published:
  210.     __property Word AutoPopup = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=4, nodefault
  211.         };
  212.     __property Word AutoReplace = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=5, 
  213.         nodefault};
  214.     __property Word AutoSuggest = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=6, 
  215.         nodefault};
  216.     __property short BreakWordCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7
  217.         , nodefault};
  218.     __property short CacheSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8, nodefault
  219.         };
  220.     __property short ErrorOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1, 
  221.         nodefault};
  222.     __property Word IgnoreFullCaps = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=9
  223.         , nodefault};
  224.     __property Word IgnorePartialNumbers = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, 
  225.         index=10, nodefault};
  226.     __property short MaxSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11
  227.         , nodefault};
  228.     __property Word MultiLine = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=12, nodefault
  229.         };
  230.     __property short SuggestionsLimit = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13
  231.         , nodefault};
  232.     __property System::WideString Version = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  233.         , index=14};
  234.     __property int CurrentLine = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=15, nodefault
  235.         };
  236.     __property short CustomCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
  237.         , nodefault};
  238.     __property int DLLHandle = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17, nodefault
  239.         };
  240.     __property short EventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18
  241.         , nodefault};
  242.     __property System::WideString Hyphenation = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  243.         , index=19};
  244.     __property short IRAction = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20, nodefault
  245.         };
  246.     __property short IRWhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=21
  247.         , nodefault};
  248.     __property System::WideString LineBreak = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  249.         , index=22};
  250.     __property short LineOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23, 
  251.         nodefault};
  252.     __property System::WideString MisspelledWord = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  253.         , index=24};
  254.     __property int ReplaceCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=25, nodefault
  255.         };
  256.     __property System::WideString ReplacementWord = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  257.         , index=26};
  258.     __property short ResultCode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=27, 
  259.         nodefault};
  260.     __property int ResumeOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28, nodefault
  261.         };
  262.     __property short SearchOrder = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=29
  263.         , nodefault};
  264.     __property short SpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30
  265.         , nodefault};
  266.     __property short StandardCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31
  267.         , nodefault};
  268.     __property short SuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=32
  269.         , nodefault};
  270.     __property short SuggestionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
  271.         , nodefault};
  272.     __property System::WideString Text = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  273.         , index=34};
  274.     __property short WhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=35, 
  275.         nodefault};
  276.     __property int WordCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=36, nodefault
  277.         };
  278.     __property int WordOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37, nodefault
  279.         };
  280.     __property Word AllowJoinedWords = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38
  281.         , nodefault};
  282.     __property int DialogLeft = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=39, nodefault
  283.         };
  284.     __property int DialogTop = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=40, nodefault
  285.         };
  286.     __property Word ReplaceRecheck = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=41
  287.         , nodefault};
  288.     __property Graphics::TColor DialogBgColor = {read=GetTColorProp, write=SetTColorProp, stored=false, 
  289.         index=42, nodefault};
  290.     __property int DialogLeftActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=43
  291.         , nodefault};
  292.     __property int DialogTopActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=44
  293.         , nodefault};
  294.     __property Word ReplaceOccurred = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=45
  295.         , nodefault};
  296.     __property Word SuggestionsMade = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=46
  297.         , nodefault};
  298.     __property short WordLength = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=47, 
  299.         nodefault};
  300.     __property int CacheHits = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=48, nodefault
  301.         };
  302.     __property int CacheMisses = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=49, nodefault
  303.         };
  304.     __property int TimerTicks = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=50, nodefault
  305.         };
  306.     __property int UserData = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=51, nodefault
  307.         };
  308.     __property System::WideString CheckedWord = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  309.         , index=52};
  310.     __property Word CommonIRListIsEnabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, 
  311.         index=53, nodefault};
  312.     __property System::WideString WordMisspelledTitle = {read=GetWideStringProp, write=SetWideStringProp
  313.         , stored=false, index=54};
  314.     __property System::WideString OptionsTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  315.         , index=55};
  316.     __property System::WideString ErrorTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  317.         , index=56};
  318.     __property System::WideString WordMisspelledHelpFile = {read=GetWideStringProp, write=SetWideStringProp
  319.         , stored=false, index=57};
  320.     __property System::WideString OptionsHelpFile = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  321.         , index=58};
  322.     __property int DialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=59, 
  323.         nodefault};
  324.     __property int DialogWidth = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=60, nodefault
  325.         };
  326.     __property int DialogHeight = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=61, nodefault
  327.         };
  328.     __property System::WideString ErrorText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  329.         , index=62};
  330.     __property int ClickedButton = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=63, 
  331.         nodefault};
  332.     __property int ClickInfo = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=64, nodefault
  333.         };
  334.     __property System::WideString ClickInfoText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  335.         , index=65};
  336.     __property short AddToCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=66
  337.         , nodefault};
  338.     __property short BeginCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=67, 
  339.         nodefault};
  340.     __property System::WideString CheckText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  341.         , index=68};
  342.     __property System::WideString CheckWord = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  343.         , index=69};
  344.     __property short ClearCounts = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=70
  345.         , nodefault};
  346.     __property short ClearOffsets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=71
  347.         , nodefault};
  348.     __property System::WideString FindSuggestions = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  349.         , index=72};
  350.     __property short ReplaceLastWord = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=73
  351.         , nodefault};
  352.     __property short ResumeCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=74
  353.         , nodefault};
  354.     __property short ClearSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=75
  355.         , nodefault};
  356.     __property short PopupError = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=76, 
  357.         nodefault};
  358.     __property short PopupOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=77
  359.         , nodefault};
  360.     __property short PopupWordMisspelled = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  361.         index=78, nodefault};
  362.     __property System::WideString CreateCustom = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  363.         , index=79};
  364.     __property short ResumeWithRecheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=80
  365.         , nodefault};
  366.     __property Word EnableCommonIRList = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=81
  367.         , nodefault};
  368.     __property short ClearCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=82
  369.         , nodefault};
  370.     __property System::WideString RemoveFromCommonIRList = {read=GetWideStringProp, write=SetWideStringProp
  371.         , stored=false, index=83};
  372.     __property short EnableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=84
  373.         , nodefault};
  374.     __property short DisableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  375.         index=85, nodefault};
  376.     __property short EnableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=86
  377.         , nodefault};
  378.     __property short DisableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  379.         index=87, nodefault};
  380.     __property short EnableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  381.         index=88, nodefault};
  382.     __property short DisableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  383.         , index=89, nodefault};
  384.     __property int EnableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=90
  385.         , nodefault};
  386.     __property int DisableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=91
  387.         , nodefault};
  388.     __property System::WideString _Text = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  389.         , index=0};
  390.     __property System::WideString StandardDictionary = {read=GetWideStringProp, write=SetWideStringProp
  391.         , stored=false, index=2};
  392.     __property System::WideString CustomDictionary = {read=GetWideStringProp, write=SetWideStringProp, 
  393.         stored=false, index=3};
  394.     __property TVSSpellMisspelled OnMisspelled = {read=FOnMisspelled, write=FOnMisspelled};
  395.     __property TVSSpellComplete OnComplete = {read=FOnComplete, write=FOnComplete};
  396.     __property TVSSpellFound OnFound = {read=FOnFound, write=FOnFound};
  397.     __property TVSSpellBeforeReplace OnBeforeReplace = {read=FOnBeforeReplace, write=FOnBeforeReplace};
  398.         
  399.     __property TVSSpellAfterReplace OnAfterReplace = {read=FOnAfterReplace, write=FOnAfterReplace};
  400.     __property TVSSpellAfterPopup OnAfterPopup = {read=FOnAfterPopup, write=FOnAfterPopup};
  401.     __property TVSSpellCheckStatus OnCheckStatus = {read=FOnCheckStatus, write=FOnCheckStatus};
  402.     __property TVSSpellCheckError OnCheckError = {read=FOnCheckError, write=FOnCheckError};
  403.     __property TVSSpellClickIn OnClickIn = {read=FOnClickIn, write=FOnClickIn};
  404.     __property TVSSpellClickOut OnClickOut = {read=FOnClickOut, write=FOnClickOut};
  405. public:
  406.     /* TOleControl.Create */ __fastcall virtual TVSSpell(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  407.         AOwner) { }
  408.     /* TOleControl.Destroy */ __fastcall virtual ~TVSSpell(void) { }
  409.     
  410. public:
  411.     /* TWinControl.CreateParented */ __fastcall TVSSpell(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  412.         ) { }
  413.     
  414. };
  415.  
  416. //-- var, const, procedure ---------------------------------------------------
  417. extern PACKAGE GUID LIBID_VspelocxLib;
  418. #define VSCAT_STANDARD (Word)(256)
  419. #define VSCAT_IRLIST (Word)(256)
  420. #define VSCAT_CUSTOM (Word)(512)
  421. #define VSCAT_ENABLED (Word)(1024)
  422. #define VSCAT_DISABLED (Word)(2048)
  423. #define VSDSTAT_ENABLED (Byte)(1)
  424. #define VSDSTAT_LOADED (Byte)(2)
  425. #define VSDSTAT_IRLIST_ENABLED (Byte)(4)
  426. #define VSDSTAT_UPDATEABLE (Byte)(8)
  427. #define VSDSTAT_READONLY (Byte)(16)
  428. #define VSDSTAT_EXTENDED (Byte)(32)
  429. #define VSDSTAT_HYPHENATION (Byte)(64)
  430. #define VSDSTAT_PHONETICS (Byte)(128)
  431. #define VSDSTAT_COMMONLIST (Word)(256)
  432. #define VSLANG_AMERICAN (Byte)(0)
  433. #define VSLANG_ENGLISH (Byte)(1)
  434. #define VSLANG_FRENCH (Byte)(2)
  435. #define VSLANG_GERMAN (Byte)(3)
  436. #define VSLANG_SPANISH (Byte)(4)
  437. #define VSLANG_PORTUGUESE (Byte)(5)
  438. #define VSLANG_ITALIAN (Byte)(6)
  439. #define VSLANG_DUTCH (Byte)(7)
  440. #define VSLANG_SWEDISH (Byte)(8)
  441. #define VSLANG_FINNISH (Byte)(9)
  442. #define VSLANG_NORWEGIAN (Byte)(10)
  443. #define VSLANG_LATIN (Byte)(11)
  444. #define VSLANG_WELSH (Byte)(12)
  445. #define VSLANG_POLISH (Byte)(13)
  446. #define VSLANG_HUNGARIAN (Byte)(14)
  447. #define VSLANG_FLEMISH (Byte)(15)
  448. #define VSLANG_CZECH (Byte)(16)
  449. #define VSLANG_ICELANDIC (Byte)(17)
  450. #define VSLANG_ESPERANTO (Byte)(18)
  451. #define VSLANG_CATALAN (Byte)(19)
  452. #define VSLANG_ROMANIAN (Byte)(20)
  453. #define VSLANG_BULGARIAN (Byte)(21)
  454. #define VSLANG_RUSSIAN (Byte)(22)
  455. #define VSLANG_QUECHUA (Byte)(23)
  456. #define VSLANG_TURKISH (Byte)(24)
  457. #define VSLANG_INDONESIAN (Byte)(25)
  458. #define VSLANG_HEBREW (Byte)(26)
  459. #define VSLANG_DANISH (Byte)(27)
  460. #define VSLANG_CANADIAN (Byte)(28)
  461. #define VSEVOPT_COMPLETE (Byte)(1)
  462. #define VSEVOPT_FOUND (Byte)(2)
  463. #define VSEVOPT_MISSPELLED (Byte)(4)
  464. #define VSEVOPT_BEFORE_REPLACE (Byte)(8)
  465. #define VSEVOPT_AFTER_POPUP (Byte)(16)
  466. #define VSEVOPT_CHECK_STATUS (Byte)(32)
  467. #define VSEVOPT_CHECK_ERROR (Byte)(64)
  468. #define VSEVOPT_AFTER_REPLACE (Byte)(128)
  469. #define VSEVOPT_CLICK_IN (Word)(256)
  470. #define VSEVOPT_CLICK_OUT (Word)(512)
  471. #define VSEVOPT_DEFAULTS (int)(65533)
  472. #define VSORDER_SCIR (Byte)(0)
  473. #define VSORDER_CIRS (Byte)(2)
  474. #define VSORDER_IRSC (Byte)(3)
  475. #define VSORDER_SIRC (Byte)(4)
  476. #define VSORDER_CSIR (Byte)(6)
  477. #define VSORDER_IRCS (Byte)(7)
  478. #define VSORDER_NO_LOOKAHEAD (Byte)(8)
  479. #define VSOPT_AUTO_REPLACE (Byte)(1)
  480. #define VSOPT_AUTO_SUGGEST (Byte)(2)
  481. #define VSOPT_AUTO_POPUP (Byte)(4)
  482. #define VSOPT_IGNORE_FULL_CAPS (Byte)(8)
  483. #define VSOPT_IGNORE_PARTIAL_NUMBERS (Byte)(16)
  484. #define VSOPT_MULTILINE (Byte)(32)
  485. #define VSOPT_IGNORE_PURE_NUMBERS (Byte)(64)
  486. #define VSOPT_ALLOW_JOINED_WORDS (Byte)(128)
  487. #define VSOPT_EXACT_MATCH (Word)(256)
  488. #define VSOPT_RETURN_EACH_WORD (Word)(512)
  489. #define VSOPT_REPLACE_RECHECK (Word)(1024)
  490. #define VSOPT_DEFAULTS (Word)(1127)
  491. #define VSSUGOPT_CAPITALIZATION (Byte)(1)
  492. #define VSSUGOPT_CHARSWAP (Byte)(2)
  493. #define VSSUGOPT_DELETES (Byte)(4)
  494. #define VSSUGOPT_DOUBLES (Byte)(8)
  495. #define VSSUGOPT_HYPHENS (Byte)(16)
  496. #define VSSUGOPT_SPLITS (Byte)(32)
  497. #define VSSUGOPT_EXCHANGES (Byte)(64)
  498. #define VSSUGOPT_INSERTIONS (Word)(512)
  499. #define VSSUGOPT_DEFAULTS (Word)(639)
  500. #define VSIR_GLOBAL (Byte)(1)
  501. #define VSIR_PROMPT (Byte)(2)
  502. #define VSIR_IGNORE (Byte)(4)
  503. #define VSIR_REPLACE (Byte)(8)
  504. #define VSIR_HYPHENATION (Byte)(16)
  505. #define VSIR_SPELLED_OK (Byte)(5)
  506. #define VSIR_REPLACE_ALL (Byte)(9)
  507. #define VSIR_MISSPELLED (Byte)(6)
  508. #define VSIR_PROMPT_REPLACE (Byte)(10)
  509. #define VS_DEFAULT_HANDLING (Byte)(0)
  510. #define VS_EVENT_HANDLED (Byte)(1)
  511. #define VS_CANCEL_SPELLCHECK (Byte)(2)
  512. #define VSCLICK_WORD_MISSPELLED_HELP (Byte)(1)
  513. #define VSCLICK_OPTIONS (Byte)(2)
  514. #define VSCLICK_PROMPT_REPLACE (Byte)(4)
  515. #define VSCLICK_ADD_TO_CUSTOM (Byte)(8)
  516. #define VSCLICK_REPLACE_ALL (Byte)(16)
  517. #define VSCLICK_REPLACE (Byte)(32)
  518. #define VSCLICK_IGNORE_ALL (Byte)(64)
  519. #define VSCLICK_IGNORE (Byte)(128)
  520. #define VSCLICK_SUGGEST_NOT_FOUND (Word)(256)
  521. #define VSCLICK_SUGGEST_REPLACE_WITH (Word)(512)
  522. #define VSCLICK_CANCEL_SPELLCHECK (Word)(1024)
  523. #define VSCLICK_THESAURUS (Word)(2048)
  524. #define VSCLICK_OPTIONS_HELP (int)(65536)
  525. #define VSCLICK_OPTIONS_OK (int)(131072)
  526. #define VSCLICK_OPTIONS_CANCEL (int)(262144)
  527. #define VSCLICK_OPEN_CUSTOM (int)(524288)
  528. #define VSCLICK_CLOSE_CUSTOM (int)(1048576)
  529. #define VSCLICK_OPEN_STANDARD (int)(2097152)
  530. #define VSCLICK_CLOSE_STANDARD (int)(4194304)
  531. #define VSCLICK_THESAURUS_OK (int)(16777216)
  532. #define VSCLICK_THESAURUS_SEARCH (int)(33554432)
  533. #define VSCLICK_THESAURUS_CANCEL (int)(67108864)
  534. #define VSCLICK_THESAURUS_HELP (int)(134217728)
  535. #define VSD_WORD_MISSPELLED_HELP (Byte)(1)
  536. #define VSD_OPTIONS (Byte)(2)
  537. #define VSD_PROMPT_REPLACE (Byte)(4)
  538. #define VSD_ADD_TO_CUSTOM (Byte)(8)
  539. #define VSD_REPLACE_ALL (Byte)(16)
  540. #define VSD_REPLACE (Byte)(32)
  541. #define VSD_IGNORE_ALL (Byte)(64)
  542. #define VSD_IGNORE (Byte)(128)
  543. #define VSD_SUGGEST_NOT_FOUND (Word)(256)
  544. #define VSD_SUGGEST_REPLACE_WITH (Word)(512)
  545. #define VSD_CANCEL_SPELLCHECK (Word)(1024)
  546. #define VSD_SUGGESTIONS_LIST (Word)(2048)
  547. #define VSD_REPLACE_BOX (Word)(4096)
  548. #define VSD_CUSTOM_LIST (Word)(8192)
  549. #define VSD_THESAURUS (Word)(16384)
  550. #define VSD_OPTIONS_HELP (int)(65536)
  551. #define VSD_CUSTOMS (int)(131072)
  552. #define VSD_STANDARDS (int)(262144)
  553. #define VSD_PERFORMANCE (int)(524288)
  554. #define VSD_SUGGESTION_LIMIT (int)(1048576)
  555. #define VSD_AUTO_SUGGESTIONS (int)(2097152)
  556. #define VSD_EXACT_MATCH (int)(4194304)
  557. #define VSD_IGNORE_FULL_CAPS (int)(8388608)
  558. #define VSD_IGNORE_PARTIAL (int)(16777216)
  559. #define VSD_IGNORE_PURE (int)(33554432)
  560. #define VSD_ALLOW_JOINED (int)(67108864)
  561. #define VSD_RECHECK (int)(134217728)
  562. #define VSD_THESAURUS_HELP (int)(268435456)
  563. #define VSD_THESAURUS_SEARCH (int)(536870912)
  564. #define VSR_WORD_MISSPELLED (Shortint)(-1)
  565. #define VSR_IGNORE_REPLACE (Shortint)(-2)
  566. #define VSR_CHECK_CANCELED (Shortint)(-3)
  567. #define VSR_BREAK (Shortint)(-4)
  568. #define VSR_FOUND (Shortint)(-5)
  569. #define VSR_REPLACED (Shortint)(-6)
  570. #define VSR_CHANGED (Shortint)(-7)
  571. #define VSR_END_LIST (Shortint)(-8)
  572. #define VSR_ENTRY_NOT_FOUND (Shortint)(-9)
  573. #define VSR_OPENED_READONLY (Shortint)(-11)
  574. #define VSR_REPLACE_OVERFLOW (Shortint)(-12)
  575. #define VSR_NOT_ADDED (Shortint)(-13)
  576. #define VSR_POPPED (Shortint)(-14)
  577. #define VSR_CLICK_IN (Shortint)(-15)
  578. #define VSR_CLICK_OUT (Shortint)(-16)
  579. #define VSR_NO_ERROR (Byte)(0)
  580. #define VSR_WORD_TOO_LONG (Byte)(1)
  581. #define VSR_NO_MISSPELL (Byte)(2)
  582. #define VSR_ALREADY_OPEN (Byte)(4)
  583. #define VSR_OPEN_FAILED (Byte)(5)
  584. #define VSR_CREATE_FAILED (Byte)(6)
  585. #define VSR_INVALID_DICTIONARY (Byte)(7)
  586. #define VSR_WRITE_FAILURE (Byte)(9)
  587. #define VSR_READ_FAILURE (Byte)(10)
  588. #define VSR_BAD_FILE_NAME (Byte)(11)
  589. #define VSR_NOT_UPDATEABLE (Byte)(12)
  590. #define VSR_DUPLICATE_WORD (Byte)(13)
  591. #define VSR_BAD_CUSTOM (Byte)(14)
  592. #define VSR_IN_EVENT (Byte)(15)
  593. #define VSR_NOT_LOADED (Byte)(16)
  594. #define VSR_REPLACE_ERROR (Byte)(17)
  595. #define VSR_CACHE_ERROR (Byte)(18)
  596. #define VSR_INVALID_CONTEXT (Byte)(19)
  597. #define VSR_NOTHING_TO_CHECK (Byte)(20)
  598. #define VSR_DIALOG_ERROR (Byte)(21)
  599. #define VSR_OUT_OF_MEMORY (Byte)(22)
  600. #define VSR_BAD_INDEX (Byte)(23)
  601. #define VSR_OUT_OF_STRING_SPACE (Byte)(24)
  602. #define VSR_IN_DIALOG (Byte)(25)
  603. #define VSR_FILE_EXISTS (Byte)(26)
  604. #define VB_OFFSET (Word)(32350)
  605. #define VBR_WORD_TOO_LONG (Word)(32351)
  606. #define VBR_NO_MISSPELL (Word)(32352)
  607. #define VBR_ALREADY_OPEN (Word)(32354)
  608. #define VBR_OPEN_FAILED (Word)(32355)
  609. #define VBR_CREATE_FAILED (Word)(32356)
  610. #define VBR_INVALID_DICTIONARY (Word)(32357)
  611. #define VBR_WRITE_FAILURE (Word)(32359)
  612. #define VBR_READ_FAILURE (Word)(32360)
  613. #define VBR_BAD_FILE_NAME (Word)(32361)
  614. #define VBR_NOT_UPDATEABLE (Word)(32362)
  615. #define VBR_DUPLICATE_WORD (Word)(32363)
  616. #define VBR_BAD_CUSTOM (Word)(32364)
  617. #define VBR_IN_EVENT (Word)(32365)
  618. #define VBR_NOT_LOADED (Word)(32366)
  619. #define VBR_REPLACE_ERROR (Word)(32367)
  620. #define VBR_CACHE_ERROR (Word)(32368)
  621. #define VBR_INVALID_CONTEXT (Word)(32369)
  622. #define VBR_NOTHING_TO_CHECK (Word)(32370)
  623. #define VBR_DIALOG_ERROR (Word)(32371)
  624. #define VBR_OUT_OF_MEMORY (Word)(32372)
  625. #define VBR_BAD_INDEX (Word)(32373)
  626. #define VBR_OUT_OF_STRING_SPACE (Word)(32374)
  627. #define VBR_IN_DIALOG (Word)(32375)
  628. #define VBR_FILE_EXISTS (Word)(32376)
  629. #define VS_ALL (Byte)(0)
  630. #define VS_MAXWORDSIZE (Byte)(75)
  631. extern PACKAGE GUID Class_VSSpell;
  632. extern PACKAGE void __fastcall Register(void);
  633.  
  634. }    /* namespace Vcspell3 */
  635. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  636. using namespace Vcspell3;
  637. #endif
  638. //-- end unit ----------------------------------------------------------------
  639. #endif    // vcspell3
  640.